package com.day10;

public class Man extends Person {

    boolean isSmoking;

    public void earnMoney() {
        System.out.printf("男人负责挣钱养家");
    }


    public void eat() {
        System.out.printf("男人: 多吃肉");
    }

    public void walk(){
        System.out.printf("开车");
    }


}
